using System;
using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Requests
{
	public static class EntityActivityParticipantsDeleteExtend
{
		public static ActivityParticipants ToDeleteEntity(this RequestActivityParticipantsDto dto)
		{
			return new ActivityParticipants
			{
				ApId = dto.id,
				ApName = dto.name,
				ApGender = dto.gender,
				ApAge = dto.age,
				ApPhone = dto.phone,
				ApEmail = dto.email,
			};
		}
	}
}
